<?php
	
	namespace app\controller;
	
	use app\BaseController;
	use think\Request;
	use think\Response;
	
	class Activity extends BaseController
	{
		public function list()
		{
		
		}
		
		/**
		 * 获取活动详情
		 * @param  Request  $request
		 * @return Response
		 */
		public function info(Request $request): Response
		{
			$id = $request->param('id');
			
			$data  = [
				'id' => 1,
				'activity_name' => 'test',
				'desc' => 'test',
				'resource' => '2',
				'prod_num' => 50,
			];
			return $this->success('success', $data);
		}
	}